<aside class="lg-side">
  <div class="panel-heading tab-bg-dark-navy-blue okr-tab-head tab-right "></div>
  <div class="inbox-body mi-h8">
    <div class="row">
      <div class="col-lg-12">
        <section class="panel">
          <header class="panel-heading add-heading">
            决策上报信息
          </header>
          <div class="panel-body">
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">上报内容*</label>
              <div class="col-sm-10">
                <textarea class="form-control" id="content" maxlength="500"
                onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" placeholder="字数限制(500字以内)"></textarea>
              </div>
            </div>
            <p class="default-buttons">
              <a href="javascript:void(0);" class="button-back btn btn-info" onclick="toBack()">返回</a>
              <a href="javascript:void(0);" class="button-next  btn btn-info submit">提交</a>
            </p>
          </div>
        </section>
      </div>
    </div>
  </div>
</aside>
<script>
    function toBack() {
        toLoadHtml(4,2);
    }
    $(".submit").on('click',function () {
        var content = $("#content").val();
        if (content=="" || content == null || content == undefined){
           layer.msg("上报内容不能为空！");
           return;
        }
        $certusUtils.ajax("toAddDecision",{"projId":proId,"content":content},function (response) {
            layer.msg("添加成功",{"time":500});
            toLoadHtml(4,2);
        })
    })
</script>